html,
body,
div {
  margin: 0;
  padding: 0;
}
@mixin scrollColor($color) {
  &::-webkit-scrollbar {
    width: 8px;
    height: 8px;
    position: relative;
    z-index: 100;
  }
  &::-webkit-scrollbar-thumb {
    background-color: $color;
    background-clip: padding-box;
    min-height: 28px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
  }
  &::-webkit-scrollbar-corner {
    background: $color;
  }
  /*&::-webkit-scrollbar:$colorGray2; //滚动条整体部分
  ::-webkit-scrollbar-button:''; //滚动条两端的按钮
  ::-webkit-scrollbar-track:'';  //外层轨道
  ::-webkit-scrollbar-track-piece:'';  //内层滚动槽
  ::-webkit-scrollbar-thumb:$colorGray3; //滚动的滑块
  ::-webkit-scrollbar-corner:''; //边角
  ::-webkit-resizer //定义右下角拖动块的样式*/
}
.common-layout {
  .common-container{
    height: 100vh;
  }
  .common-sidebar {
    transition: all 0.3s;
    box-shadow: 2px 0 6px rgb(0 21 41 / 35%);
    color: #fff;
    background-color: rgb(48 65 86);
    height: 100vh;
    overflow-x: hidden;
    @include scrollColor(#6c5155);
    .logo {
      display: flex;
      align-items: center;
      font-size: 18px;
      font-weight: 700;
      height: 60px;
      justify-content: center;
      img {
        width: 30px;
        height: 30px;
      }
    }
    .el-menu {
      border-right: 0;
    }
  }
  .common-header {
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    .collapse-icon {
      cursor: pointer;
      font-size: 18px;
      margin-right: 15px;
    }
    .breadcrumb {flex: 2;}
    .comm-header-tool {margin: 0 10px;display: flex;
      i {margin: 0 5px;cursor: pointer}
    }
  }
  .common-main {
    background: #f0f2f5;
    @include scrollColor(#cecfd0);
  }
  .tag-tabs {display: flex;justify-content: space-between;align-items: center;
    padding: 0 20px;
    box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08);
    .el-tabs__content {
      display: none;
    }
    .el-tabs__nav-wrap::after {
      display: none;
    }
    .el-tabs__item {
      padding: 0 10px !important;
    }
    .el-tabs__header {
      margin: 0;
    }
    .tabs-label {
      i {margin-left: 3px}
    }
    .clear-tag {cursor: pointer}
  }
  .quit-full{position: fixed;right: 10px;top:10px;cursor: pointer}
}
/*.el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 200px;
  min-height: 400px;
}*/
